var p = new Promise((resolve, reject) => {
    resolve("成功")
})
p.then(res => {
    console.log(res)
})